import { request } from '@vipl520/utils'

// const path = '/gs_gold/admin.question/'

export function getQuestionList(page, size, recommend = 0) {
  return request({
    url: '/gs_gold/app.question/getList',
    method: 'get',
    params: { page, size, recommend }
  })
}

export function getQuestionCategoryList(page, size, type = 0) {
  return request({
    url: '/gs_gold/app.question/getCategoryList',
    method: 'get',
    params: { page, size, type }
  })
}
